<%--
    Document   : ubahakun
    Created on : Dec 22, 2011, 9:20:57 PM
    Author     : Hatta
--%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:import url="header.jsp" />

<p>${lexicon.editProfileDesc}</p>

 <form action="registerAccount" method="post">
            <h1>Ubah Akunu</h1>


          <label><font size="5">Informasi Akun User</font></label>
          <input type="hidden" name="action" value="register" />
            <c:if test="${formErrors.email != null}"><p class="error">${formErrors.email}</p></c:if>
			<p><label>Username</label> 		<input name="userId" type="text" size="30" maxlength="50"></input></p>
			<p><c:if test="${formErrors.password != null}"><p class="error">${formErrors.password}</p></c:if>
                        <label for="password">${lexicon.password}:</label><input type="password" name="password" id="password" /></p>
                        <p> <label for="confirmPassword">${lexicon.confirmPassword}:</label><input type="password" name="confirmPassword" id="confirmPassword" /></p>

                        <p><label><font size="5">Informasi Kontak</font></label></p>
			<p><c:if test="${formErrors.namaDepan != null}"><p class="error">${formErrors.namaDepan}</p></c:if>
                        <label for="namaDepan">${lexicon.namaDepan}:</label><input type="text" name="namaDepan" id="namaDepan"  value="${param.namaDepan}" /></p>
			<p><c:if test="${formErrors.namaBelakang != null}"><p class="error">${formErrors.namaBelakang}</p></c:if>
                        <label for="namaBelakang">${lexicon.namaBelakang}:</label><input type="text" name="namaBelakang" id="namaBelakang"  value="${param.namaBelakang}" /></p>
			<p><c:if test="${formErrors.email != null}"><p class="error">${formErrors.email}</p></c:if>
                        <label for="email">${lexicon.email}:</label><input type="text" name="email" id="email" value="${param.email}" /></p>
			<p><c:if test="${formErrors.telepon != null}"><p class="error">${formErrors.telepon}</p></c:if>
                        <label for="telepon">${lexicon.telepon}:</label><input type="text" name="telepon" id="telepon"  value="${param.telepon}" /></p>

                        <p><label><font size="5">Informasi Pembayaran</font></label></p>
			<p><c:if test="${formErrors.namaDepan != null}"><p class="error">${formErrors.namaDepan}</p></c:if>
                        <label for="namaDepan">${lexicon.namaDepan}:</label><input type="text" name="namaDepan" id="namaDepan"  value="${param.namaDepan}" /></p>
			<p><c:if test="${formErrors.namaBelakang != null}"><p class="error">${formErrors.namaBelakang}</p></c:if>
                        <label for="namaBelakang">${lexicon.namaBelakang}:</label><input type="text" name="namaBelakang" id="namaBelakang"  value="${param.namaBelakang}" /></p>
			<p><c:if test="${formErrors.alamat != null}"><p class="error">${formErrors.alamat}</p></c:if>
                        <label for="alamat">${lexicon.alamat}:</label><input type="text" name="alamat" id="alamat"  value="${param.alamat}" /></p>
			<p><c:if test="${formErrors.kota != null}"><p class="error">${formErrors.kota}</p></c:if>
                        <label for="kota">${lexicon.kota}:</label><input type="text" name="kota" id="kota"  value="${param.kota}" /></p>
			<p><c:if test="${formErrors.provinsi != null}"><p class="error">${formErrors.provinsi}</p></c:if>
                        <label for="provinsi">${lexicon.provinsi}:</label><input type="text" name="provinsi" id="provinsi"  value="${param.provinsi}" /></p>
			<p><c:if test="${formErrors.negara != null}"><p class="error">${formErrors.negara}</p></c:if>
                        <label for="negara">${lexicon.negara}:</label><input type="text" name="negara" id="negara"  value="${param.negara}" /></p>

          <p><c:if test="${formErrors.KodePos != null}"><p class="error">${formErrors.KodePos}</p></c:if>
                        <label for="KodePos">${lexicon.KodePos}:</label><input type="text" name="KodePos" id="KodePos"  value="${param.KodePos}" /></p>
         <c:if test="${formErrors.agreeTerms != null}"><p class="error">${formErrors.agreeTerms}</p></c:if>
    <label></label><input type="checkbox" name="agreeTerms" id="agreeTerms" /><label for="agreeTerms" class="noFloat">${lexicon.agreeTerms}</label>
    <p class="submit"><input type="submit" value="${lexicon.registerAccount}" class="button submit" /></p>
</form>
<c:import url="footer.jsp" />